package Com.aji.h;

public class Demo36 {

	public static void main(String[] args) {
		   System.out.println(total(1));
    }
    public static int total(int day){
        if(day == 10)
            return 1;
        else
            return (total(day+1)+1)*2;
    }
}
